<div class="modal-body">

    <form class="form-inline" onsubmit="return submitData(this)"  method="post">
        <table class="table table-striped table-bordered table-hover table-condensed">
            <tr>
                <th width="20%">用户名：</th>
                <td  colspan="2">
                    {$model.username}
                </td>
            </tr>
            <tr>
                <th width="20%">当前总余额：</th>
                <td  colspan="2">
                    {$model.total_balance}
                </td>
            </tr>
            <tr>
                <th width="20%">当前剩余余额：</th>
                <td  colspan="2">
                    {$model.balance}
                </td>
            </tr>
            <tr>
                <th width="20%">当前冻结余额：</th>
                <td  colspan="2">
                    {$model.frozen_balance}
                </td>
            </tr>
            <tr>
                <th width="20%">操作：</th>
                <td  colspan="2">
                    <select style="width: 200px;" name="type"  class="form-control">
                        <if condition="$type eq '3'">
                            <option value="3" selected  >冻结余额</option>
                            <option value="4">解除冻结余额</option>
                        </if>
                        <if condition="$type eq '4'">
                        <option value="3"  >冻结余额</option>
                        <option value="4" selected  >解除冻结余额</option>
                        </if>
                    </select>
                </td>
            </tr>
            <tr>
                <th width="12%" valign="middle">余额数量：</th>
                <td  colspan="2">
                    <input maxlength="5" value="{$number}" style="width:200px; display: inline-block;" class="form-control" type="text" name="number" />
                    <if condition="$error" >
                        <div style="display: inline-block" class="list-group-item list-group-item-danger">{$error}</div>
                    </if>
                </td>
            </tr>
            <tr>
                <th width="20%">说明：</th>
                <td  colspan="2">
                    <textarea name="content" class="form-control" value="{$content}"></textarea>
                    <if condition="$error_content" >
                        <div style="display: inline-block" class="list-group-item list-group-item-danger">{$error_content}</div>
                    </if>
                </td>
            </tr>
        </table>
        <div class="layer_btn_panel">
            <button class="btn btn-sm btn-success" type="submit">确认保存</button>
            <input class="btn btn-sm" onclick="closeIframe()" type="button" value="取消" />
        </div>
    </form>
</div>